Hi,

This is the sourcecode for my FastlaneZ3 driver for NetBSD. It is distributed
"as is" and is still a beta version.

In the archive there are two directories: 1.0 and 1.0A-current. You should
use the one that fits your kernel source.

You must add the interrupt calls in machdep.c your self. It is not difficult
just change


#include "ivsc.h"
#include "ser.h"
#include "idesc.h"
#include "ether.h"
#include "afsc.h"

to:

#include "ivsc.h"
#include "ser.h"
#include "idesc.h"
#include "flz3sc.h"	<--- This line is added
#include "ether.h"
#include "afsc.h"

and change this:

intrhand(sr)
...
#if NED > 0
		if (edintr (0))
			goto intports_done;
#endif
#if NEX > 0
		if (exintr (0))
			goto intports_done;
#endif
#if NIDESC > 0
		if (idesc_intr ())
			goto intports_done;
#endif
		ciaa_intr ();

to:

intrhand(sr)
...
#if NED > 0
		if (edintr (0))
			goto intports_done;
#endif
#if NEX > 0
		if (exintr (0))
			goto intports_done;
#endif
#if NFLZ3SC > 0					| This
		if (flz3sc_intr())		| code
		  goto intports_done;		| was
#endif						| added
#if NIDESC > 0
		if (idesc_intr ())
			goto intports_done;
#endif
		ciaa_intr ();

If you already have these code parts in your kernel it is already prepared
to use the Fastlane driver. (i.e. you already have it or the code is there
anyway)

You must also make sure that the files.amiga.newconf contains the necessary
lines for the fastlane driver and also add the config lines in you config
file. I have supplied my own files.amiga.newconf and GENERIC file so you can
look in them if you need to.

Don't forget to do 'config.new GENERIC' (or whatever) and make depend before
rebuilding your kernel.

You may also want to read the fastlane.kernel.950130.readme file.

Comments and questions should be sent to me:

Thanks
/Daniel Widenfalk
t94dwi@student.tdb.uu.se